package com.chance.cc.crawler.prod.command.node.acfun;

import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.acfun.searchKw.AcfunRealtimeCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.acfun.searchKw.AcfunTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.acfun.searchKw.AcfunTraceTraceCrawlerSchedulerJob;

/**
 * @author bx
 * @date 2020/12/8 0008 13:37
 */
public class AcfunCrawlerNodeOperator {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.219",9505);

        crawlerNodeCommand.nodeStatus();

        crawlerNodeCommand.killCrawler(AcfunRealtimeCrawlerSchedulerJob.crawlerSchedulejob());
        crawlerNodeCommand.killCrawler(AcfunTraceCrawlerSchedulerJob.crawlerSchedulejob());
        crawlerNodeCommand.killCrawler(AcfunTraceTraceCrawlerSchedulerJob.crawlerSchedulejob());


        crawlerNodeCommand.nodeStatus();

    }
}
